package com.designpatterns.businessdelegatepattern;

// 调用服务代表去做任务
public class Client
{
	BusinessDelegate businessService;

	public Client(BusinessDelegate businessService)
	{
		this.businessService = businessService;
	}

	public void doTask()
	{
		businessService.doTask();
	}
}
